Agent multiport fix