fix registering 0 interval when no interval given