0.1.4: fix restoring of listeners