updates to fix pin search