try to account for port origins