fix bug in image path