Replace elseif with else