get rid of annoying warning from gcc