It seems that this file didn't use local to describe local scope and DPART variable below didn't use "local" in consistence.