fixed imageData reference