get correct key on create