fix app storage loading logic