fixing bug within generic file edit form