small changes in AddClock

minor bug fixed