use local image to avoid flickering