fix method names in exception