Use 'unless' instead of 'if'
Fix whitespace error