guard against nils; cleanup
move to tr on clojars