changed attribute display logic in edit page