bash script fixed