fix bad method calls