fix selector update bug