bad reference to a method