Delete some unnecessary lines with image import