fixed minor typos. Need to init listpos differently