Fix bug #4 & #5 in config.php