Fixing doc type