Correcting image ref