get rid of "unused-but-set-variable"