portIn API was fixed