fixed readPathConfig()