fix bugs in lists with spec
specs for counters/lists/keyvalue and hashes