bug fix over primitive type list