Fix is-method name generation bug