fixed brew not being executed twice