fix: little performance optimization