fix doc types