clean up the spaces,  upon  status update