Fix for bash script error