fixed brew error