Fix error on key doesn't exist