fixed bug in builtin list factory method

@traiansf please check this bugfix