res. problem free init NULL