Fixing configuration file parsing errors (Thanks @iandol)