Fixed bug in storage usage