bug fix in pascal configuration