CLJS: fix two bugs