fixed a bug with a midnight reservation