Change the edit path and fix the rest format bug