Fix bug caused by parenWrap