fixed brew missing errors for linux