fixed outportdata in selection