use ``if``, not ``elseif`` as the previous ``if`` returns