fixed strstr bug on institution check