fixed error when link_dest_dir is None
fixed wrong var name
fixed several initial issues when no or only an invalid config is available