working correct, but cannot quit once start