Fixed bug where loading from storage would fail