fix mk_studyref - remove useqform
work on mk_studyref in progress
work on mk_studyref in progress
work on mk_studyref in progress
modified mk_studyref