fixed the docid integer problem