fixing brew check