fix bug clock