remove useless extensions from doc