Must fix the conversion of coordinates