Strip useless spaces