xargs way to prevent error