move gps check to handler and add some logs