Removes extraneous spaces