Cleaning up unwanted image referals