make dita-d4p-classic works + cleanup