Bugs fixed in congig/main.php and PartNumberController.php