Removing unneccesary spaces