fix bug in semantic block activation