fix new activities logic error