Fix study keys