fixed typo in config and reordered things