Corrected bug when not using default serve_dir