fix stage_1 data transformation variables