remove unused variables to avoid compiler warnings