minor changes, study type is working ok with el it seems, still a problem with delay in test type with el