Major cleaning

Fix malformed config