Fix weekday bug