fix misreading config file