MacOS clean up gateway double entries