fixing origin transform