clean up rotation