doc type fix