fixed bought page (which was not working right)