fix some bash stuff