Fixed no exec onClose