process content document regardless of its type. various small cleanups