Fix for undefined store when the component has default value