fixed issues in storefrontcontroller for ios