fixed bash script error