Fixed the errors with coordinates by creating new models