fixed coordinates issue