fix 2dee71a handle clock in changes

- avoid undefined warning
- disabled check was done wrong