fixed bug stopping access to non-existent image data