config aligned with app reloading and handler state