trying to fix mem leak
trying ti fix mem leak