small sanity check to prevent possible infinite loop ....