more fixes to addActiviites