Fixed errors in StorageUtils class