fixes bash script