fixed small bug in NS gui