removing references to side images