some vars need to moved