fixed bug in configuration