remove image after view is complete