Fixed bug with config and syntax error with input