debug add clear depends and emergency shutdown