rename prev_global to prev transform