Fix buy and search