Fixing bad method call