we only unbind when program ends