fixed ability to change dates