Fix edit_config issues that didn't work on os x