performance improvements
speedup of refine studies page issue #52