fix cpu port mappings