fix problem with store code in url