fixed a crash reported on store