Fixed prune check initialize bug