Fixed PM Config file, and fixed duplicated bug