modify diagnostic