Replace this in  with self

Fixes $child wrapper