add one argument(deep) in apply_op