remove unnescesary spaces