Updating port splitting method, working on port adusting and input sanitation