fixed CustomActivitySpec