remove useless errors from stderr output