GPS manage function bug fixed.