Tested and fixed PathPlugin and MapPlugin