remove warnings about unused variables