remove compilation warnings about unused variables