Update main.lua

Fixed clock bug