fixed render form for edit page