* fix bugs on edit page.