loading edit page is now smoother