small fixes for config generator