some fix according to habit of homebrew