fix some problem about images' location