fix: regression in #c2b4d1d369
trivial: clean useless code