make seq no bson value parsing safe
clean up some code