date calc before
fix the screen