Fixed the issue on display mainstore as substore