moved cvar declaration to more logical place