fix log in config