when image is undefine