fix small bug with spinner