edit selector & fix delete selector bug