fix to work with cljs