Fix the weeklyactivity dependency problem