fix nalunit resize bug