fix variables that werent being called Upstream-commit: b77573f48e4022c7b8b829c4a33c6963fe08e18a Component: engine