small bug fixes to optimise display of studies
Merge branch 'dev'