serialize local actions; fixes #1