Remove the some unneccessary spaces.