force quit when error