Fixed directory variable load in request_handler