some minor fixes to make sure the functionality works in fileedit