remove unnecessary warning from compiler