Fix #258 crash when disabling storage module