Bugfix: array not on heap anymore