correct free()ing
port updated