fix containsPos issue