fix return doctype
test max size integer