torch custom_op fix