Fixed memory leak
fixed mem leak