corrected edit controller