Avoiding a warning in the error.log