fix half-assed `rc` config reading