Fix bug: elif to elseif