fixed print error on lists