fix case of method call