fix syntax for study lookup