fixed rotation parsing