Eliminate unnecessary spaces