fix daily plan bug