-Fixed bug with clock