fix nice_day func