fix #if logic bug