fix len prob in listlookup, use gen in mem instead of direct constructor, and added dot backend