* fixed typo
* fixed error with checking if no port is found