changed coords retrieval in controller