Fix call to res by append 'self'