fixing release.sh script bug