diagram flag in data content properly set up checking