fixed bug in hermes system clock