remove image before build