remove duplicate image ref