remove warning, remove dead code and GeographicalCoord in its file