fixed a method call