fix path error for images