Fixed coordinate errors