Fixed inputlist macro