* fixed warning "Usage of ELSE IF is discouraged; use ELSEIF instead"