fix wrong key cached