fix bug in unshift.  v6.5.1