bugfix: memory