Hope to have solved the Heap Erro