fixed template soft block detection