fixed small bug which had flip and wave in safety loop