outofmemory bug was fixed