fixed coordinates conversion