debug for wrap