Fixed problem with variable renaming and highest order variance term