bug fix in load_config's regex