fix pgaas shell script error