making same changes as ldView in ldEditView