fixed resolving of methods \o/