fix table chart in edit mode