fixed an exception with reading a boolean from configuration