fix unshift issue