bugfix to yesterday's pdmaker bugfix