Fixes bug. Need runs brew doctor before checking brew cmd.