fix to blockVisitorTest