tries to better protect against image failures #171