small bug fixes to optimise display of studies