fix quality flaw (dead code)