fix add activity from api