remove unnecessary final warning