Longclick time

fixed possible critical bug in waypoint string operation