remove unnecessary warning