modify handler for method in typebuilder about slot