fix hour bug