fix the bug with right tocify