bugfix: missing var declaration
Merge branch 'serialize-deleted'