fixed DS prev_date bug, legacy reporting bugs