fix #104 for edit page on client-side