fixed bug, sendports in lists were not replaced