fixed StoragePlatform.java nullpointer strips