fixed the edit page view