fix circular dependency miss detection bug