fixing problem in semanticblock plugin