fixed mindnight :(