remove max date since it's not necessary