minor change to onclock to guarantee time