imageView shouldn't be a global variable.