[fix] Remove unnecessary else if