fix brew check