fixed duplication of activity entries