Fix http_directory