Fixes wrong method invokation