fix slow loading of manage trials page.