fixed the bug of missing right macro kernel connection