Fix typo in configuration
Refactor