remove unused variables in mandelbrot scalar