fixed setKey