fix annoying compiler warning