fixes #14 (doctype ord, requires included db upgrade)