move reset function to page view
lot edit page