cleaned up debug code in gps