fix isTimed bug