add auto_correct to solve port collisions automatically