found out why vis_teori failed when changing rotation