Fix grc detection