Fixed bug in configuration