remove bad method call