fix bug adding ~/bin to path