fixed bug where the global variables in Wishlist controller weren't being set or accessed correctly