fixed bug with selections on PAX input files