bug fix for image nodes