Fix new/delete
Remove unnecessary check