fix storage.sh bug