better data checks in storage.cljs