Fixed route and storageSize bug