Fixing 'if'