fixed depreciated moment variable positions