fix unpin problem and succeed test 2