update to non pointer

MEMORY LEAK DETECTED