Delete needless spaces
Add condition-case function