added config save check