fixed pgdb template 4th argument handling