fix etsum bug