refactor, load image without delay