changed a log error to warn