memory leak fixed thx to gdb & kedric