Removes uneseccary spaces