Fix bug of configuration