[fix] add bind for class-based handler