Remove unnecessary warning message