fix bad method call