solves configuration storage/restore problem