optional lang param in edit link
logging errors when trying to access data
prettier element download code for edit