more tweaks
test if port is correct