fix the inner wrap as well