relocated explicit chart destruction, single if