minor bugs fixed in startpdp.sh