persist interval was not being used properly from the config file