Fix issue when using during with only method name as parameter