Fixed document root bug II