Fix error on keys