wip fixes compilation error in activity spec