minor fix on timing