some fix for image reference