fix some glitches on the study/study view