Remove unnecessary blank spaces