commit in midnight