fix bug in ETC