remove not necessary defer (cost memory)