Removing uneccessary spaces