delete unnecessary conditional