Fixed crash

Crashed if setting was 12h.