Fixed old_dir reference