refactoring: remove two unused variables (#496)