fixed bug where temp activities are automatically added