add quit contrl