add list method
bugfix in getKeyString function