issue fix

fixed issue on last date selected