remove unused variables warning