fixed bug in loading configuration
fixed bug in configuration parameters