minimizing the composer should unregister it