fix port to int not string