fix leak of port property object