added some error handling for editable