fix readAllKeys