correct line generation in the wrapped call