What do you mean by wrong image?
And as said by Norm, we are unable to compile and run your code to see the actual flow.