Method 'call' called on wrong object