flag for continue on error