ptarjans fix for document root.