correcting image pathways