quick fix to prevent get all keys to get the wrong keys