fix bug for reorginize