bash script error fixed