document_root bug fixed