check image is nil before dispatch