fixed issues in util and config