fix sort bug;