fix bug in addrateactivity