removing nested image from model