fix bug range date