Clear unnecessary spaces