[f16ref][2.0] fix missed endif