fix node resize