fixes #27, some code style improvement in AresConfig