.each_key fix