Fixed issue for edit new